﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace Fcdbas.Core.WCF.TransFile.Contracts.Enums
{
    [DataContract]
    public enum ExecuteResult
    {
        /// <summary>
        /// 当前成功
        /// </summary>
        [Description("")]
        [EnumMember]
        IncrementComplete = 98,
        /// <summary>
        /// 全部成功
        /// </summary>
        [Description("")]
        [EnumMember]
        AllComplete = 99,
        /// <summary>
        /// 错误
        /// </summary>
        [Description("")]
        [EnumMember]
        Error = -1,
        /// <summary>
        /// 文件已存在
        /// </summary>
        [Description("")]
        [EnumMember]
        FileExists = 1,
        /// <summary>
        /// 写入失败
        /// </summary>
        [Description("")]
        [EnumMember]
        WriteFail = 2,
        /// <summary>
        /// 读取失败
        /// </summary>
        [Description("")]
        [EnumMember]
        ReadFail = 3,
        /// <summary>
        /// 根目录不存在
        /// </summary>
        [Description("")]
        [EnumMember]
        RootFolderNotFound = 4,
        /// <summary>
        /// 根目录错误
        /// </summary>
        [Description("")]
        [EnumMember]
        RootFolderFail = 5,
        /// <summary>
        /// 文件夹错误
        /// </summary>
        [Description("")]
        [EnumMember]
        FolderFail = 6,
        /// <summary>
        /// 文件路径错误
        /// </summary>
        [Description("")]
        [EnumMember]
        FilePathFail = 7,

        /// <summary>
        /// 文件不存在
        /// </summary>
        [Description("文件不存在")]
        FileNotExists = 8
    }
}
